package com.cmccsi.uc.session;

public class SERVER {
	private	int server_fd;
	private	int port;
		//struct event_base *base;
		//struct event listen_event;
	private	WORKER_ARRAY workers;
	private	int ret;
	private	int start_worker_num;
	private	int conn_count;
		//pthread_mutex_t start_lock;//start_worker_numͬ��;cond wait����ͬ��
		//pthread_cond_t start_cond;	
	public int getServer_fd() {
		return server_fd;
	}
	public void setServer_fd(int server_fd) {
		this.server_fd = server_fd;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public WORKER_ARRAY getWorkers() {
		return workers;
	}
	public void setWorkers(WORKER_ARRAY workers) {
		this.workers = workers;
	}
	public int getRet() {
		return ret;
	}
	public void setRet(int ret) {
		this.ret = ret;
	}
	public int getStart_worker_num() {
		return start_worker_num;
	}
	public void setStart_worker_num(int start_worker_num) {
		this.start_worker_num = start_worker_num;
	}
	public int getConn_count() {
		return conn_count;
	}
	public void setConn_count(int conn_count) {
		this.conn_count = conn_count;
	}

}
